package cn.getech.data.metadata.mapper;

import cn.getech.data.metadata.api.gateway.model.dto.CollectionSetting;
import cn.getech.data.metadata.model.req.setting.DataLevelSettingReq;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface CollectionSettingMapper extends BaseMapper<CollectionSetting> {

    List<DataLevelSettingReq> selectDataLevel(@Param("tenantId")Integer tenantId);

    List<Integer> getCurrentTeeLevelMax(@Param("tenantId") Integer tenantId);

}